import httpInstance from "@/utils/http";

export const getCategoryAPI = (id) => {
    return httpInstance({
        url: '/category',
        method: 'GET',
        params: { id }
    })
}